package com.ruoyi.openDoor.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商家的包间的时长对象 business_room_duration
 * 
 * @author ruoyi
 * @date 2023-02-06
 */
public class BusinessRoomDuration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键的id */
    private Long id;

    /** 包间的id */
    @Excel(name = "包间的id")
    private Long businessRoomId;

    /** 预约的订单的id */
    @Excel(name = "预约的订单的id")
    private Long reserveId;

    /** 当天的日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "当天的日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeDay;

    /** 小时 */
    @Excel(name = "小时")
    private Long timeHour;

    /** 状态  当天的小时是否被占用 */
    @Excel(name = "状态  当天的小时是否被占用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessRoomId(Long businessRoomId) 
    {
        this.businessRoomId = businessRoomId;
    }

    public Long getBusinessRoomId() 
    {
        return businessRoomId;
    }
    public void setReserveId(Long reserveId) 
    {
        this.reserveId = reserveId;
    }

    public Long getReserveId() 
    {
        return reserveId;
    }
    public void setTimeDay(Date timeDay) 
    {
        this.timeDay = timeDay;
    }

    public Date getTimeDay() 
    {
        return timeDay;
    }
    public void setTimeHour(Long timeHour) 
    {
        this.timeHour = timeHour;
    }

    public Long getTimeHour() 
    {
        return timeHour;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessRoomId", getBusinessRoomId())
            .append("reserveId", getReserveId())
            .append("timeDay", getTimeDay())
            .append("timeHour", getTimeHour())
            .append("status", getStatus())
            .toString();
    }
}
